import http from "../utils/http";

export const indexDate = () => {
  return Promise.all([
    http.request({ url: "/index/findBanner", method: "GET" }),
    http.request({ url: "/index/findCategory1", method: "GET" }),
    http.request({ url: "/index/advertisement", method: "GET" }),
    http.request({ url: "/index/findListGoods", method: "GET" }),
    http.request({ url: "/index/findRecommendGoods", method: "GET" })
  ]);
};
